<template>
	<view class="">
		<xxmLayoutVue >
			去demo8
			<template #haveName>
				<view class="haveSlot">有具名插槽哦</view>
			</template>
			<template v-slot="scopeSlot">
				<view class="">{{ scopeSlot.text }}</view>
			</template>
		</xxmLayoutVue>
		<navigator url="/pages/demo8/demo8">点击跳转到demo8页面</navigator>
	</view>
</template>

<script lang="ts" setup>
	import xxmLayoutVue from '../../components/xxm-layout/xxm-layout.vue';

</script>

<style scoped lang="scss">
.haveSlot{
	height: 100px;
	background-color: red;
	color: #fff;
}
</style>
